import Layout1 from '../layouts/Layout1.vue'
export const routers = [
    {
        path: '/testPage',
        name: 'TestPage',
        meta: { title: '测试页面', keepAlive: false },
        component: () => import('../views/TestPage.vue')
    }, {
        path: '/login',
        name: 'Login',
        meta: { title: '登录页面', keepAlive: false },
        component: () => import('../views/account/Login.vue')
    }, {
        path: '/',
        name: 'Index',
        component: Layout1,
        redirect: '/test/testPage',
        meta: { title: '测试首页', keepAlive: false },
        children: [{
            path: '/test/testPage',
            name: 'TestIndexPage',
            meta: { title: '测试页面', keepAlive: false },
            component: () => import('../views/TestPage.vue')
        },{
            path: '/system/areaList',
            name: 'AreaList',
            meta: { title: '区域管理', keepAlive: false },
            component: () => import('../views/system/area/AreaList.vue')
        },{
            path: '/system/playerList',
            name: 'PlayerList',
            meta: { title: '球员管理', keepAlive: false },
            component: () => import('../views/system/player/PlayerList.vue')
        }]
    }
]